# coding=utf-8
from django import forms


class SutraEditionSearch(forms.Form):
    """
    views SutraEditionSearch forms
    """
    name = forms.CharField(min_length=1)
    offset = forms.IntegerField(min_value=0)
    limit = forms.IntegerField(min_value=1)


class Sutras(forms.Form):
    '''
    views Sutras forms
    '''
    offset = forms.IntegerField(min_value=0)
    limit = forms.IntegerField(min_value=0)


class SutraEdition(forms.Form):
    '''
    views SutraEdition forms
    '''
    offset = forms.IntegerField(min_value=0)
    limit = forms.IntegerField(min_value=0)


class SutraEditionPageList(forms.Form):
    '''
    views SutraEditionPageList forms
    '''
    offset = forms.IntegerField(min_value=0)
    limit = forms.IntegerField(min_value=1)
